package cn.edu.ujn.lab3.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;


import cn.edu.ujn.lab3.po.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User row);

    int insertSelective(User row);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User row);

    int updateByPrimaryKey(User row);
    
    public User findUser(@Param("usercode") String usercode,	@Param("password") String password);
    
    public List<User> findAll(User user);
    
    public int selectUserListCount(User user);
    
}